﻿@baseColor: #068043;

@media screen and (max-width: 575px) {
    nav.pos_fixed {
        display: none;
    }

    
}
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
.vertical-center {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    transform: translateX(-50%);
    height: auto;
}
nav.pos_fixed {
    position: fixed;
    top: 20%;
    left: 5%;
    color: @baseColor;
    padding: 0;
    margin: 0;

    ul {
        padding: 0;
        margin: 0;

        li {
            margin-top: 1rem;
        }
    }
}
.navbar-light .navbar-nav .nav-link {
    color: #000000;

    &:hover {
        color: forestgreen;
    }
}


a:hover {
    text-decoration: none; //去掉下划线
}

.no-padding {
    padding: 0px !important;
}

.container {

    a {
        color: @baseColor;
    }
}

.jt_dropdown {
    .dropdown {
        position: relative;
        display: inline-block;
        z-index: 999;

        .dropbtn {
            display: inline-block;
            text-align: center;
            text-decoration: none;
        }

        .dropdown-content {
            display: none;
            position: absolute;
            text-align: center;
            left: 50%;
            transform: translateX(-50%);
            background-color: #f9f9f9;
            min-width: 120px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 1;

            a {
                /*color: black;*/
                text-decoration: none;
                display: block;
                line-height: 2rem;

                &:hover {
                    background-color: #f1f1f1
                }
            }
        }

        .wt-3 {
            width: 30rem;
        }

        .wt-2 {
            width: 20rem;
        }

        .dropdown-content-right {
            display: none;
            position: absolute;
            background-color: #f9f9f9;
            left: 100%;
            top: 0;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 1;

            a {
                text-decoration: none;
                display: block;

                &:hover {
                    background-color: #f1f1f1
                }
            }

            .card {
                .card-title {
                    color: white;
                    padding: 0;
                    margin: 0;
                    min-height: 1.5rem;
                    background-color: @baseColor;
                }

                img {
                    display: block;
                    max-width: 100%;
                    border-radius: 5px;
                }

                li:first-child {
                    border-top: none;
                    padding: 0;
                    margin: 0;
                }

                li {
                    padding-top: 1rem;
                    line-height: 1.5rem;
                    border-top: 1px dashed #ccc;
                }
            }
        }

        &:hover {

            .dropdown-content,
            .dropdown-content-right {
                display: block;
            }
        }
    }
}

footer {
    
        font-size: 13px;
    

    > .beian {
        /*height: 5rem;*/
        margin-bottom: 2rem;
    }

    .about {
        ul {
            display: inline;
            line-height: 2rem;
            padding: 0;
        }

        img {
            width: 10rem;
        }
    }
}

ul {
    list-style-type: none;
}

.input-group {
    .input-group-append {
        .btn-outline-success {
            border-color: #ccc;
            border-left: none;
        }
    }

    >.form-control {
        border-right: none;
    }
}